require "tempfile"
require "fileutils"
class DropletTestfile
  def initialize test_file_name
    @file_name=test_file_name
    test_file_path=File.dirname(__FILE__) + "/test_images/#{test_file_name}"
    puts test_file_path
    if File.exists?(test_file_path)
      puts "gothere"
      @t = Tempfile.new(test_file_name)
      FileUtils.copy_file(test_file_path, @t.path)
      puts @t.size
    
    end
  end
  def original_filename
    @file_name
  end
  def path
    @t.path
  end

end




